package com.wisdytech.linkdcs.equipment.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Yanghu
 * @since 2017-09-16
 */
@TableName("tt_eq_equipment")
public class Equipment extends Model<Equipment> {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一id
     */
    @TableId("PK_ID")
	private String pkId;
    /**
     * 设备编号
     */
	@TableField("EQUIP_CODE")
	private String equipCode;
    /**
     * 设备名称
     */
	@TableField("EQUIP_NAME")
	private String equipName;
	
	/**
     * 设备英文名称
     */
    @TableField("EQUIP_NAME_EN")
    private String equipNameEn;
    
    /**
     * 设备描述
     */
	@TableField("EQUIP_DESC")
	private String equipDesc;


    /**
     * 设备实时状态 更改前为EQUIP_REAL_STATUS
     */
	@TableField("REAL_STATUS")
	private Integer realStatus;
	
    /**
     * 设备型号表 更改前为EQUIP_MODEL_ID
     */
	@TableField("MODEL_CODE")
	private String modelCode;
    

    
    /**
     * 图片地址
     */
    @TableField("IMAGE")
    private String image;
    /**
     * 工序
     */
    @TableField("OPERATION_ID")
    private String operationId;
    /**
     * 工序名称
     */
    @TableField(exist=false)
    private String operationName;
//    
//    
//    @TableField("FREQUENCY")
//    private Integer frequency; 
    
    /**
     * 删除标记
     */
	@TableField("DEL_FLAG")
	private String delFlag;
	
	
    /**
     * 记录创建人
     */
	@TableField("CREATE_USER")
	private String createUser;
    /**
     * 记录创建时间
     */
	@TableField("CREATE_DATE")
	private Date createDate;
    /**
     * 记录更新人
     */
	@TableField("UPDATE_USER")
	private String updateUser;
    /**
     * 记录更新时间
     */
	@TableField("UPDATE_DATE")
	private Date updateDate;
    /**
     * 备注
     */
	@TableField("REMARK")
	private String remark;
	
	
	
	@TableField("PLC_PROTOCAL")
	private String plcProtocal;
	
	@TableField("EQUIP_CODE_NAME")
	private String equipCodeName;
	@TableField("PROTOCAL_CODE")
	private String protocalCode;
	
	
//	
//	@TableField("PLC_ADDR")
//	private String plcAddr;
//	
//	@TableField("database_addr")
//	private String databaseAddr;
//	
//	@TableField("file_addr")
//	private String fileAddr;
//	
//	@TableField("upper_addr")
//	private String upperAddr;
//	
//	
//	/**
//	 * 设备类别编号
//	 */
//	@TableField(exist=false)
//	private String modelCode;
	/**
	 * 设备类型
	 */
	@TableField(exist=false)
	private String modelType;
	/**
	 * 供应商
	 */
	@TableField(exist=false)
	private String supplier;
	
	/**
	 * 通信接口
	 */
	@TableField(exist=false)
	private String ecRoute;
	
	
	/**
     * 设备备注
     */
    @TableField(exist=false)
    private String equipRemark;
    
    
    
    @TableField(exist=false)
    private String type;
    
    @TableField(exist=false)
	private String fatoryName;
    @TableField(exist=false)
	private String lineName;
    @TableField(exist=false)
	private String shopName;
    @TableField(exist=false)
	private String areaName;
    
	
    
    public String getEquipCodeName() {
		return equipCodeName;
	}

	public void setEquipCodeName(String equipCodeName) {
		this.equipCodeName = equipCodeName;
	}

	public String getProtocalCode() {
		return protocalCode;
	}

	public void setProtocalCode(String protocalCode) {
		this.protocalCode = protocalCode;
	}

	public String getPlcProtocal() {
		return plcProtocal;
	}

	public void setPlcProtocal(String plcProtocal) {
		this.plcProtocal = plcProtocal;
	}


	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getPkId() {
		return pkId;
	}

	public void setPkId(String pkId) {
		this.pkId = pkId;
	}

	public String getEquipCode() {
		return equipCode;
	}

	public void setEquipCode(String equipCode) {
		this.equipCode = equipCode;
	}

	public String getEquipName() {
		return equipName;
	}

	public void setEquipName(String equipName) {
		this.equipName = equipName;
	}

	public String getEquipDesc() {
		return equipDesc;
	}

	public void setEquipDesc(String equipDesc) {
		this.equipDesc = equipDesc;
	}


	public Integer getRealStatus() {
		return realStatus;
	}

	public void setRealStatus(Integer realStatus) {
		this.realStatus = realStatus;
	}

	public String getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	

    public String getModelCode() {
		return modelCode;
	}

	public void setModelCode(String modelCode) {
		this.modelCode = modelCode;
	}

	public String getModelType() {
		return modelType;
	}

	public void setModelType(String modelType) {
		this.modelType = modelType;
	}

	public String getSupplier() {
		return supplier;
	}

	public void setSupplier(String supplier) {
		this.supplier = supplier;
	}

	public String getEcRoute() {
        return ecRoute;
    }

    public void setEcRoute(String ecRoute) {
        this.ecRoute = ecRoute;
    }

	@Override
	protected Serializable pkVal() {
		return this.pkId;
	}

    public String getEquipNameEn() {
        return equipNameEn;
    }

    public void setEquipNameEn(String equipNameEn) {
        this.equipNameEn = equipNameEn;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }
  
    public String getOperationId() {
        return operationId;
    }

    public void setOperationId(String operationId) {
        this.operationId = operationId;
    }

    public String getOperationName() {
        return operationName;
    }

    public void setOperationName(String operationName) {
        this.operationName = operationName;
    }

    public String getEquipRemark() {
        return equipRemark;
    }

    public void setEquipRemark(String equipRemark) {
        this.equipRemark = equipRemark;
    }

	public String getFatoryName() {
		return fatoryName;
	}

	public void setFatoryName(String fatoryName) {
		this.fatoryName = fatoryName;
	}

	public String getLineName() {
		return lineName;
	}

	public void setLineName(String lineName) {
		this.lineName = lineName;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}
    
    
    

}
